package com.hx.er.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.hx.er.bean.base.AddressBean;
import com.hx.er.dao.IAddrDao;
import com.hx.er.mapper.IAddressMapper;

public class AddrDaoImpl implements IAddrDao {

	@Autowired
	IAddressMapper addrMapper;
	
	@Override
	public List<AddressBean> getAddrListByObjId(Map<String, Object> conditions) {
		return this.addrMapper.getAddrListByObjId(conditions);
	}

	@Override
	public void insertAddrWithoutId(AddressBean addrBean) {
		this.addrMapper.insertAddrWithoutId(addrBean);
	}

}
